class CreateUpcategories < ActiveRecord::Migration
  def self.up
    create_table :upcategories do |t|
      t.string :name

      t.timestamps
    end

    Upcategory.create(:id => 1, :name => "facture")
    Upcategory.create(:id => 2, :name => "traitement")
    
  end

  def self.down
    drop_table :upcategories
  end
end
